package xyz.xtt.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.xtt.admin.entity.TblDynamicsConf;
import xyz.xtt.admin.mapper.DynamicsConfMapper;
import xyz.xtt.admin.request.DynamicsConfRequest;
import xyz.xtt.admin.service.IDynamicsConfService;

/**
 * @author xugaopeng
 * @date 2024-12-13-17:40
 */
@Service
@Slf4j
public class DynamicsConfServiceImpl extends ServiceImpl<DynamicsConfMapper, TblDynamicsConf> implements IDynamicsConfService {
    @Autowired
    DynamicsConfMapper mapper;
    @Override
    public String getContent(DynamicsConfRequest request) {
        return  mapper.getContent(request);
    }

    @Override
    public void updateByKey(DynamicsConfRequest tblDynamicsConf) {
         mapper.updateByKey(tblDynamicsConf);
    }


}
